class example
	{
	public static void main(String[] args)
		{
		int a=10, b=20;
		int si = add(a,b);
		System.out.println("The sum of two integers is " + si);
		float m=10.0f, n=20.0f;
		float sf = add(m,n);
		System.out.println("The sum of two floating point numbers is " + sf);
		}
	public static int add(int a,int b)
		{
		return a+b;
		}
	public static float add(float a,float b)
		{
		return ((float)a+b);
		}
	}
	